﻿using System.Collections.Generic;
using YL.Core.Dto;
using YL.Core.Entity;
using YL.Utils.Table;

namespace IServices
{
    public interface IWhr_userServices : IBaseServices<Whr_user>
    {
        (int, List<Whr_user>) PageList(Bootstrap.BootstrapParams bootstrap);

        (bool, string, Whr_user) CheckLogin(Whr_user dto);

        void Login(int userId, string ip);

        (bool, string) RegisterAndBind(string phone, int wechatId);
    }
}
